package com.gy.paidao.setting;

import android.os.Bundle;
import android.widget.CheckBox;

import com.gy.paidao.BaseActivity;
import com.gy.paidao.R;
import com.gy.paidao.util.AnimUtil;

/**
 * @author GY
 * @date 16/2/26
 * @Description:
 */
public class NotificationsActivity extends BaseActivity {

    private CheckBox cb_heat, cb_comment, cb_expire;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentViewRes(R.layout.activity_notifications);
        setViews();
    }

    @Override
    protected void initVariable() {

    }

    @Override
    protected void setTitleViews() {
        titleText.setText(this.getResources().getString(R.string.set_notifications));
    }

    @Override
    protected void setViews() {
        cb_heat = (CheckBox) findViewById(R.id.notifications_cb_heat);
        cb_comment = (CheckBox) findViewById(R.id.notifications_cb_comment);
        cb_expire = (CheckBox) findViewById(R.id.notifications_cb_expire);
    }

    @Override
    protected void doClickAction(int viewId) {
        super.doClickAction(viewId);
        switch (viewId) {
            case R.id.title_ll_back:
                finish();
                AnimUtil.pushRightInAndOut(this);
                break;
        }
    }
}
